package com.cy.pj.sys.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
@ApiModel(value = "用户信息")
public class SysUser implements Serializable {
    private static final long serialVersionUID = 6030354920933251109L;
    @ApiModelProperty(value = "主键ID")
    private Integer id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "用户密码")
    private String password;
    @ApiModelProperty(value = "盐")
    private String salt;
    @ApiModelProperty(value = "电话")
    private String mobile;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "有效状态")
    private Integer valid=1;//默认为有效状态,0 代表无效
    @ApiModelProperty(value = "部门ID")
    private Integer deptId;
    @ApiModelProperty(value = "部门名")
    private String deptName;
    @ApiModelProperty(value = "角色ID")
    private List<Integer> roleIds;
    @ApiModelProperty(value = "创建者")
    private String createdUser;
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;
    @ApiModelProperty(value = "修改者")
    private String modifiedUser;
    @ApiModelProperty(value = "修改时间")
    private Date modifiedTime;

}
